package com.model;

import java.io.Serializable;
import java.util.List;

/**
 * 学员消息类
 */
public class StudentMessage implements Serializable {
    private static final long serialVersionUID = -4460143901052175168L;
    private String message;
    private Student student;
    private List<Student> students;

    public StudentMessage() {
    }

    public StudentMessage(String message, Student student) {
        this.message = message;
        this.student = student;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public String toString() {
        return "SudentMessage{" +
                "message='" + message + '\'' +
                ", student=" + student +
                '}';
    }
}
